PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

Result Codes

Many Multiprocessing Services functions return result codes. In addition, Multiprocessing Services functions may also return File Manager, Code Fragment Manager, and Process Manager result codes, which are described in Inside Macintosh.

The most common result codes returned by Multiprocessing Services are listed below

noErr No error
paramErr Invalid parameter in function call
memFullErr Out of memory
kMPDeletedErr The desired notification the function was waiting upon was deleted.
kMPInsufficientResourcesErr Could not complete task due to unavailable Multiprocessing Services resources. Note that many functions return this value as a general error when the desired action could not be performed.
kMPInvalidID Invalid ID value (for example, an invalid message queue ID was passed to MPNotifyQueue .
kMPTaskBlockedErr The desired task is blocked.
kMPTaskStoppedErr The desired task is stopped.
kMPTimeoutErr The designated timeout interval passed before the function could take action.
kMPOwningProcessRemoteContext

© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)